package com.ymm.system.controller;

import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author zikang.yao
 * @Description TODO
 * @Date 2022/8/3 10:21
 * @Version 1.0
 */
@SpringBootApplication(scanBasePackages = {"com.ymm.system"})
@EnableDubboConfig
@MapperScan({"com.ymm.system.dao.mapper","com.ymm.driver.dao.mapper"})
@EnableTransactionManagement
@EnableCaching
//@EnableAsync
public class SystemStart {
    public static void main(String[] args) {
        SpringApplication.run(SystemStart.class,args);
    }
}
